WA Location Message
Location Message- Message containing geographic location.
Message Object- Location_Message object-
Attributes | Details |
---|---|
title required | string The title is shown close to the button or link that leads to a map showing the location. The title can be clickable in some cases. |
caption | string Label or name for the position. |
Coordinates- required | Object (Coordinates)- It contains below details latitude number float required The latitude. longitude number float required The longitude. |
{
"app_id": "01E9AHW7C686SN0HZ595BH1YYY",
"recipient": {
"identified_by": {
"channel_identities": [
{
"channel": "WHATSAPP",
"identity": "91931XXXXXXX"
}
]
}
},
"message": {
"location_message": {
"title": "Your ride is here!",
"label": "Meet your driver at the specified address.",
"coordinates": {
"latitude": 55.610479,
"longitude": 13.002873
}
}
}
}